package cloud.ben.smallscalepigfarmmanagementsystem.service.pig;

import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigLivingSituation;
import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigNurseryDeathRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.utils.RespBean;

/**
 * @Author: Ben
 * @Date: 2022/4/6 11:30
 */
public interface IPigNurseryDeathRecordsService {

    /**
     * 增加保育舍死亡记录信息
     * @param pigNurseryDeathRecords
     * @return RespBean
     */
    RespBean insertPigNurseryDeathRecords(PigNurseryDeathRecords pigNurseryDeathRecords);

    /**
     *根据id删除保育舍死亡记录信息
     * @param id
     * @return RespBean
     */
    RespBean deletePigNurseryDeathRecords(Integer id);

    /**
     * 修改保育舍死亡记录信息
     * @param pigNurseryDeathRecords
     * @return RespBean
     */
    RespBean updatePigNurseryDeathRecords(PigNurseryDeathRecords pigNurseryDeathRecords);


    /**
     * 分页查询保育舍死亡记录信息
     * @param pageNumber
     * @param pageSize
     * @return RespBean
     */
    RespBean selectPigNurseryDeathRecordsByPage(Integer pageNumber,Integer pageSize);



    /**
     *查询猪存栏情况数量（方便分页）
     * @return RespBean
     */
    RespBean selectPigNurseryDeathRecordsNum();
}
